livepatch: Deal with payloads without any .text
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 11 Aug 2016 01:04:43 +0000 (21:04 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 8 Sep 2016 01:10:40 +0000 (21:10 -0400)
commit63e23a29e08a48a5540b3c8444865b810df41f0f
treeea5ac80208f978d6a297d0e7cff04aefd424ffc4
parent6e0815a8d75f1cb90f84894346f9261814d7453a
livepatch: Deal with payloads without any .text

It is possible. Especially if the only thing they do is
NOP functions - in which case there is only .livepatch.funcs
sections.

Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/livepatch.c